//
//  UIButton+Mixing.h
//  LocalGoods2
//
//  Created by Feihong Ye on 2018/10/23.
//  Copyright © 2018年 Xiaodong Huang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    pictureLocationLeft,
    pictureLocationRight,
    pictureLocationTop,
    pictureLocationBottom
} PictureLocation;

@interface UIButton (Mixing)

/**
 按钮图片与文字排版

 @param pictureLocation 图片在文字的方向
 @param spacing 间距
 */
- (void)buttonMixingImagePictureLocation:(PictureLocation)pictureLocation spacing:(CGFloat)spacing;
@end
